package com.zyg.apart.service;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.PageInfo;
import com.zyg.apart.model.Flatrepair;
import org.springframework.stereotype.Repository;


@Repository
public interface FlatrepairService {


    PageInfo<Map<String, Object>> getAllRepair(Integer currentPage);

    Map<String,Object> getRepairById(Integer id);

    int editRepair(Flatrepair flatrepair);

    int addRepair(Flatrepair flatrepair);

    int delRepairById(Integer id);
}
